if ((CMAKE_SYSTEM_NAME STREQUAL "Android" AND ANDROID_ABI STREQUAL "arm64-v8a") OR
    (CMAKE_SYSTEM_NAME STREQUAL "OHOS" AND OHOS_ARCH STREQUAL "arm64-v8a") OR
    (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64"))
  add_executable(breakpoint_test_arm64 breakpoint_test_arm64.c)
  add_executable(kselftest_breakpoint_test_arm64 kselftest_breakpoint_test_arm64.c)
  add_executable(arm64_watchpoint_test arm64_watchpoint_test.c)
endif()

add_executable(local_var_test local_var_test.c)
add_executable(concurrent_access_test concurrent_access_test.cpp)
